package com.lzhsite.technology.designPattern.bridgems.OAMessgaeBridge;

public abstract class AbstractMessage
{
    protected MessageImplementor impl;

    protected AbstractMessage(MessageImplementor impl)
    {
        this.impl = impl;
    }

    public void sendMessage(String message, String toUser)
    {
        this.impl.send(message, toUser);
    }
}
